Accusoft.ImagXpress13.Net
FromByteArray(ImagXpress,Byte[],Int32,LoadOptions) Method




The ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
A byte array to obtain the image from.
An integer which represents the page number.
Additional load options that pertain to the image.
Returns an ImageX object from the given ImagXpress instance, byte array, page number and load options.
Syntax
'Declaration
 
Public Overloads Shared Function FromByteArray( _
   ByVal imagXpress As ImagXpress, _
   ByVal buffer() As Byte, _
   ByVal pageNumber As Integer, _
   ByVal loadOptions As LoadOptions _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim buffer() As Byte
Dim pageNumber As Integer
Dim loadOptions As LoadOptions
Dim value As ImageX
 
value = ImageX.FromByteArray(imagXpress, buffer, pageNumber, loadOptions)
public static ImageX FromByteArray( 
   ImagXpress imagXpress,
   byte[] buffer,
   int pageNumber,
   LoadOptions loadOptions
)
public: static ImageX* FromByteArray( 
   ImagXpress* imagXpress,
   byte[]* buffer,
   int pageNumber,
   LoadOptions* loadOptions
) 
public:
static ImageX^ FromByteArray( 
   ImagXpress^ imagXpress,
   array<byte>^ buffer,
   int pageNumber,
   LoadOptions^ loadOptions
) 

Parameters

imagXpress
The ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
buffer
A byte array to obtain the image from.
pageNumber
An integer which represents the page number.
loadOptions
Additional load options that pertain to the image.

Return Value

The newly created ImageX object.
Remarks

The ImageX object implements the IDisposable interface and the application is required to call the Dispose method when the application is done with ImageX object, otherwise memory may leak.

See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback